package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.SignalMachineEntity;

/**
 * Created by smarteacup on 2017/7/25.
 */
public class SignalMachineDto {
    private Integer signalMachineId;
    private String projectNumber;
    private String signalMachineLongitude;
    private String signalMachineLatitude;
    private String signalMachineProvince;
    private String signalMachineCity;
    private String signalMachineArea;
    private String signalMachineStartRoad;
    private String signalMachineEndRoad;
    private Integer signalMachineType;
    private String signalMachineBrand;
    private String signalMachineNumber;
    private Integer signalMachineIsAlarm;
    private String signalMachinePhoto;
    private String signalMachineInstallTime;
    private String signalMachineInstallOrg;
    private Integer signalMachinePeriod;
    private Integer signalMachineServiceLife;
    private String signalMachineRemark;
    private Integer signalMachineCreatorId;
    private Integer signalMachineModifierId;
    private Integer signalMachineOrgId;
    private Integer signalMachineMainOrgId;
    private Integer signalMachineIsComplete;
    private Integer signalMachineRegionId;
    private String signalMachineADeviceId;
    private Integer alarmCount;
    private String alarmDeviceId;

    private String signalMachineCreatorName;   //采集人姓名
    private String signalMachineOrgName;       //养护公司名称
    private String signalMachineMainOrgName;   //主管单位名称
    private String longitude;                   //经度
    private String latitude;                    //纬度

    private Integer machineCount;              //标牌数量
    private Integer[] machineType;         //标牌类型

    private Integer deviceState;

    public Integer getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(Integer deviceState) {
        this.deviceState = deviceState;
    }

    public Integer getMachineCount() {
        return machineCount;
    }

    public void setMachineCount(Integer machineCount) {
        this.machineCount = machineCount;
    }

    public Integer[] getMachineType() {
        return machineType;
    }

    public void setMachineType(Integer[] machineType) {
        this.machineType = machineType;
    }

    public Integer getSignalMachineId() {
        return signalMachineId;
    }

    public void setSignalMachineId(Integer signalMachineId) {
        this.signalMachineId = signalMachineId;
    }

    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    public String getSignalMachineLongitude() {
        return signalMachineLongitude;
    }

    public void setSignalMachineLongitude(String signalMachineLongitude) {
        this.signalMachineLongitude = signalMachineLongitude;
    }

    public String getSignalMachineLatitude() {
        return signalMachineLatitude;
    }

    public void setSignalMachineLatitude(String signalMachineLatitude) {
        this.signalMachineLatitude = signalMachineLatitude;
    }

    public String getSignalMachineProvince() {
        return signalMachineProvince;
    }

    public void setSignalMachineProvince(String signalMachineProvince) {
        this.signalMachineProvince = signalMachineProvince;
    }

    public String getSignalMachineCity() {
        return signalMachineCity;
    }

    public void setSignalMachineCity(String signalMachineCity) {
        this.signalMachineCity = signalMachineCity;
    }

    public String getSignalMachineArea() {
        return signalMachineArea;
    }

    public void setSignalMachineArea(String signalMachineArea) {
        this.signalMachineArea = signalMachineArea;
    }

    public String getSignalMachineStartRoad() {
        return signalMachineStartRoad;
    }

    public void setSignalMachineStartRoad(String signalMachineStartRoad) {
        this.signalMachineStartRoad = signalMachineStartRoad;
    }

    public String getSignalMachineEndRoad() {
        return signalMachineEndRoad;
    }

    public void setSignalMachineEndRoad(String signalMachineEndRoad) {
        this.signalMachineEndRoad = signalMachineEndRoad;
    }

    public Integer getSignalMachineType() {
        return signalMachineType;
    }

    public void setSignalMachineType(Integer signalMachineType) {
        this.signalMachineType = signalMachineType;
    }

    public String getSignalMachineBrand() {
        return signalMachineBrand;
    }

    public void setSignalMachineBrand(String signalMachineBrand) {
        this.signalMachineBrand = signalMachineBrand;
    }

    public String getSignalMachineNumber() {
        return signalMachineNumber;
    }

    public void setSignalMachineNumber(String signalMachineNumber) {
        this.signalMachineNumber = signalMachineNumber;
    }

    public Integer getSignalMachineIsAlarm() {
        return signalMachineIsAlarm;
    }

    public void setSignalMachineIsAlarm(Integer signalMachineIsAlarm) {
        this.signalMachineIsAlarm = signalMachineIsAlarm;
    }

    public String getSignalMachinePhoto() {
        return signalMachinePhoto;
    }

    public void setSignalMachinePhoto(String signalMachinePhoto) {
        this.signalMachinePhoto = signalMachinePhoto;
    }

    public String getSignalMachineInstallTime() {
        return signalMachineInstallTime;
    }

    public void setSignalMachineInstallTime(String signalMachineInstallTime) {
        this.signalMachineInstallTime = signalMachineInstallTime;
    }

    public String getSignalMachineInstallOrg() {
        return signalMachineInstallOrg;
    }

    public void setSignalMachineInstallOrg(String signalMachineInstallOrg) {
        this.signalMachineInstallOrg = signalMachineInstallOrg;
    }

    public Integer getSignalMachinePeriod() {
        return signalMachinePeriod;
    }

    public void setSignalMachinePeriod(Integer signalMachinePeriod) {
        this.signalMachinePeriod = signalMachinePeriod;
    }

    public Integer getSignalMachineServiceLife() {
        return signalMachineServiceLife;
    }

    public void setSignalMachineServiceLife(Integer signalMachineServiceLife) {
        this.signalMachineServiceLife = signalMachineServiceLife;
    }

    public String getSignalMachineRemark() {
        return signalMachineRemark;
    }

    public void setSignalMachineRemark(String signalMachineRemark) {
        this.signalMachineRemark = signalMachineRemark;
    }

    public Integer getSignalMachineCreatorId() {
        return signalMachineCreatorId;
    }

    public void setSignalMachineCreatorId(Integer signalMachineCreatorId) {
        this.signalMachineCreatorId = signalMachineCreatorId;
    }

    public Integer getSignalMachineModifierId() {
        return signalMachineModifierId;
    }

    public void setSignalMachineModifierId(Integer signalMachineModifierId) {
        this.signalMachineModifierId = signalMachineModifierId;
    }

    public Integer getSignalMachineOrgId() {
        return signalMachineOrgId;
    }

    public void setSignalMachineOrgId(Integer signalMachineOrgId) {
        this.signalMachineOrgId = signalMachineOrgId;
    }

    public Integer getSignalMachineMainOrgId() {
        return signalMachineMainOrgId;
    }

    public void setSignalMachineMainOrgId(Integer signalMachineMainOrgId) {
        this.signalMachineMainOrgId = signalMachineMainOrgId;
    }

    public Integer getSignalMachineIsComplete() {
        return signalMachineIsComplete;
    }

    public void setSignalMachineIsComplete(Integer signalMachineIsComplete) {
        this.signalMachineIsComplete = signalMachineIsComplete;
    }

    public Integer getSignalMachineRegionId() {
        return signalMachineRegionId;
    }

    public void setSignalMachineRegionId(Integer signalMachineRegionId) {
        this.signalMachineRegionId = signalMachineRegionId;
    }

    public String getSignalMachineCreatorName() {
        return signalMachineCreatorName;
    }

    public void setSignalMachineCreatorName(String signalMachineCreatorName) {
        this.signalMachineCreatorName = signalMachineCreatorName;
    }

    public String getSignalMachineOrgName() {
        return signalMachineOrgName;
    }

    public void setSignalMachineOrgName(String signalMachineOrgName) {
        this.signalMachineOrgName = signalMachineOrgName;
    }

    public String getSignalMachineMainOrgName() {
        return signalMachineMainOrgName;
    }

    public void setSignalMachineMainOrgName(String signalMachineMainOrgName) {
        this.signalMachineMainOrgName = signalMachineMainOrgName;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getSignalMachineADeviceId() {
        return signalMachineADeviceId;
    }

    public void setSignalMachineADeviceId(String signalMachineADeviceId) {
        this.signalMachineADeviceId = signalMachineADeviceId;
    }

    public Integer getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(Integer alarmCount) {
        this.alarmCount = alarmCount;
    }

    public String getAlarmDeviceId() {
        return alarmDeviceId;
    }

    public void setAlarmDeviceId(String alarmDeviceId) {
        this.alarmDeviceId = alarmDeviceId;
    }

    public SignalMachineEntity toBean() {
        SignalMachineEntity signalMachineEntity = new SignalMachineEntity();
        signalMachineEntity.setProjectNumber(projectNumber);
        signalMachineEntity.setSignalMachineLongitude(signalMachineLongitude);
        signalMachineEntity.setSignalMachineLatitude(signalMachineLatitude);
        signalMachineEntity.setSignalMachineProvince(signalMachineProvince);
        signalMachineEntity.setSignalMachineCity(signalMachineCity);
        signalMachineEntity.setSignalMachineArea(signalMachineArea);
        signalMachineEntity.setSignalMachineStartRoad(signalMachineStartRoad);
        signalMachineEntity.setSignalMachineEndRoad(signalMachineEndRoad);
        signalMachineEntity.setSignalMachineType(signalMachineType);
        signalMachineEntity.setSignalMachineBrand(signalMachineBrand);
        signalMachineEntity.setSignalMachineNumber(signalMachineNumber);
        signalMachineEntity.setSignalMachineIsAlarm(signalMachineIsAlarm);
        signalMachineEntity.setSignalMachinePhoto(signalMachinePhoto);
        signalMachineEntity.setSignalMachineInstallTime(signalMachineInstallTime);
        signalMachineEntity.setSignalMachineInstallOrg(signalMachineInstallOrg);
        signalMachineEntity.setSignalMachinePeriod(signalMachinePeriod);
        signalMachineEntity.setSignalMachineServiceLife(signalMachineServiceLife);
        signalMachineEntity.setSignalMachineRemark(signalMachineRemark);
        signalMachineEntity.setSignalMachineCreatorId(signalMachineCreatorId);
        signalMachineEntity.setSignalMachineOrgId(signalMachineOrgId);
        signalMachineEntity.setSignalMachineMainOrgId(signalMachineMainOrgId);
        signalMachineEntity.setSignalMachineIsComplete(0);
        signalMachineEntity.setSignalMachineRegionId(signalMachineRegionId);
        signalMachineEntity.setSignalMachineADeviceId(signalMachineADeviceId);
        signalMachineEntity.setAlarmCount(alarmCount);
        signalMachineEntity.setAlarmDeviceId(alarmDeviceId);
        return signalMachineEntity;
    }
}
